﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="pPublicacionModificarDatos.aspx.cs" Inherits="pPublicacionModificarDatos" %>
    <%@ MasterType VirtualPath="~/Site.master" %>
<%@ Register Assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxRoundPanel" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPanel" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPopupControl" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxHiddenField" TagPrefix="dx1" %>
<%@ Register Assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxUploadControl" TagPrefix="dx" %>
<%@ Register assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxCallbackPanel" tagprefix="dx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
    <script type="text/javascript">
    // <![CDATA[

        function Uploader_OnUploadStart() {
            btnUpload.SetEnabled(false);
        }
        function Uploader_OnFileUploadComplete(args) {
            var imgSrc = aspxPreviewImgSrc;
            if (args.isValid) {
                var date = new Date();
                imgSrc = "ImagenesSubidas/" + args.callbackData + "?dx=" + date.getTime();
            }
            getPreviewImageElement().src = imgSrc;

        }
        function Uploader_OnFilesUploadComplete(args) {
            UpdateUploadButton();
            cpImagen.PerformCallback(""); 
        }
        function UpdateUploadButton() {
            btnUpload.SetEnabled(uploader.GetText(0) != "");
        }
        function getPreviewImageElement() {
            return document.getElementById("previewImage");
        }

//        function txtNegocioCuitValidar(s, e) {
//            var cuit = e.value;
//            if (cuit == null || cuit == "") {
//                e.isValid = false;
//                return;
//            }

//            var digits = "0123456789";
//            for (var i = 0; i < cuit.length; i++) {
//                if (digits.indexOf(cuit.charAt(i)) == -1) {
//                    e.isValid = false;
//                    break;
//                }
//            }

//            if (cuit.length < 7)
//                e.isValid = false;

//        }

//        function txtNegocioNumeroValidar(s, e) {
//            var numero = e.value;
//            if (numero == null || numero == "") {
//                e.isValid = false;
//                return;
//            }

//            var digits = "0123456789";
//            for (var i = 0; i < numero.length; i++) {
//                if (digits.indexOf(numero.charAt(i)) == -1) {
//                    e.isValid = false;
//                    break;
//                }
//            }
//        }


//        function txtCodigoPostalValidar(s, e) {
//            var numero = e.value;
//            if (numero == null || numero == "") {
//                e.isValid = false;
//                return;
//            }

//            if (numero.length < 4) {
//                e.isValid = false;
//                return;
//            }

//            var digits = "0123456789";
//            for (var i = 0; i < numero.length; i++) {
//                if (digits.indexOf(numero.charAt(i)) == -1) {
//                    e.isValid = false;
//                    break;
//                }
//            }



        //}
        

    // ]]>
    </script>
    <style type="text/css">
        .style3
        {
            width: 48px;
        }
        .style6
        {
        }
        .style7
        {
        }
        .style8
        {
            width: 100%;
        }
        .style9
        {
            width: 141px;
        }
    </style>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <div id="DivTop" style="float: inherit; vertical-align: top; width: 90%">
        <dx:ASPxRoundPanel ID="rpAltaNegocio" ClientInstanceName="rpAltaNegocio" 
            runat="server" HeaderText="Datos de la publicación"
            Width="600px" BackColor="White">
            <HeaderStyle BackColor="#FF9D3C" Font-Bold="False" Font-Names="Gill Sans MT" Font-Size="Large"
                ForeColor="White">
                <BorderBottom BorderStyle="None" />
<BorderBottom BorderStyle="None"></BorderBottom>
            </HeaderStyle>
            <TopLeftCorner Height="4px" Url="~/Images/ASPxRoundPanel/1520233204/TopLeftCorner.png"
                Width="4px">
            </TopLeftCorner>
            <NoHeaderTopLeftCorner Height="4px" Url="~/Images/ASPxRoundPanel/1520233204/NoHeaderTopLeftCorner.png"
                Width="4px">
            </NoHeaderTopLeftCorner>
            <TopRightCorner Height="4px" Url="~/Images/ASPxRoundPanel/1520233204/TopRightCorner.png"
                Width="4px">
            </TopRightCorner>
            <NoHeaderTopRightCorner Height="4px" Url="~/Images/ASPxRoundPanel/1520233204/NoHeaderTopRightCorner.png"
                Width="4px">
            </NoHeaderTopRightCorner>
            <BottomRightCorner Height="4px" Url="~/Images/ASPxRoundPanel/1520233204/BottomRightCorner.png"
                Width="4px">
            </BottomRightCorner>
            <BottomLeftCorner Height="4px" Url="~/Images/ASPxRoundPanel/1520233204/BottomLeftCorner.png"
                Width="4px">
            </BottomLeftCorner>
            <PanelCollection>
                <dx:PanelContent ID="PanelContent1" runat="server" SupportsDisabledAttribute="True">
                <dx:ASPxCallbackPanel ID="pDatos" ClientInstanceName="pDatos" runat="server" 
                        Width="550px">
                <PanelCollection>
                <dx:PanelContent ID="pdetalle" runat="server">


                    <table cellpadding="0" cellspacing="5" id="tablaNegocio" width="550px">
                        <tr>
                            <td align="left" class="style7" colspan="2">
                                <dx:ASPxLabel ID="lblActualizacionOK" runat="server" Font-Bold="True" ForeColor="#006600"
                                    Text="Los datos se actualizaron correctamente" Visible="False">
                                </dx:ASPxLabel>
                            </td>
                            <td align="left" class="style7" rowspan="4">
                                <dx:ASPxBinaryImage ID="imageProducto" runat="server">
                                </dx:ASPxBinaryImage>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" class="style9">
                                &nbsp;<dx:ASPxLabel ID="ASPxLabel1" runat="server" AssociatedControlID="txtNegocioNombre"
                                    CssFilePath="~/App_Themes/Office2003Olive/{0}/styles.css" CssPostfix="Office2003Olive"
                                    Font-Names="Gill Sans MT" Font-Size="Small" Text="Producto">
                                </dx:ASPxLabel>
                            </td>
                            <td class="style3">
                                <dx:ASPxTextBox ID="txtProductoNombre" runat="server" CssFilePath="~/App_Themes/Office2003Olive/{0}/styles.css"
                                    CssPostfix="Office2003Olive" Height="24px" 
                                    SpriteCssFilePath="~/App_Themes/Office2003Olive/{0}/sprite.css" 
                                    Width="130px">
                                    <ValidationSettings ErrorText="" ErrorDisplayMode="ImageWithTooltip">
                                        <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                                        <RequiredField ErrorText="Campo Obligatorio" IsRequired="True" />
<RegularExpression ErrorText="Fall&#243; la validaci&#243;n de expresi&#243;n Regular"></RegularExpression>

<RequiredField IsRequired="True" ErrorText="Campo Obligatorio"></RequiredField>
                                    </ValidationSettings>
                                </dx:ASPxTextBox>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" class="style9">
                                <dx:ASPxLabel ID="ASPxLabel2" runat="server" CssFilePath="~/App_Themes/Office2003Olive/{0}/styles.css"
                                    CssPostfix="Office2003Olive" Font-Names="Gill Sans MT" Font-Size="Small" Text="Descripcion">
                                </dx:ASPxLabel>
                            </td>
                            <td class="style3">
                                <dx:ASPxMemo ID="txtProductoDescripcion" runat="server" CssFilePath="~/App_Themes/Office2003Olive/{0}/styles.css"
                                    CssPostfix="Office2003Olive" Height="71px" SpriteCssFilePath="~/App_Themes/Office2003Olive/{0}/sprite.css"
                                    Width="200px" TabIndex="1">
                                    <ValidationSettings ErrorText="" ErrorDisplayMode="ImageWithTooltip">
                                        <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                                        <RequiredField ErrorText="Campo Obligatorio" IsRequired="True" />
<RegularExpression ErrorText="Fall&#243; la validaci&#243;n de expresi&#243;n Regular"></RegularExpression>

<RequiredField IsRequired="True" ErrorText="Campo Obligatorio"></RequiredField>
                                    </ValidationSettings>
                                </dx:ASPxMemo>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" class="style9">
                                <dx:ASPxLabel ID="ASPxLabel19" runat="server" CssFilePath="~/App_Themes/Office2003Olive/{0}/styles.css"
                                    CssPostfix="Office2003Olive" Font-Names="Gill Sans MT" Font-Size="Small" 
                                    Text="Precio de publicación">
                                </dx:ASPxLabel>
                            </td>
                            <td class="style3">
                                <dx:ASPxTextBox ID="txtProductoPrecio" runat="server" CssFilePath="~/App_Themes/Office2003Olive/{0}/styles.css"
                                    CssPostfix="Office2003Olive" Height="24px" SpriteCssFilePath="~/App_Themes/Office2003Olive/{0}/sprite.css"
                                    Width="90px" ClientInstanceName="txtNegocioCuit" MaxLength="11" 
                                    TabIndex="2">
                                    <ValidationSettings ErrorText="" ErrorDisplayMode="ImageWithTooltip">
                                        <RegularExpression ErrorText="" />
                                        <RequiredField ErrorText="Campo Obligatorio" IsRequired="True" />
<RegularExpression ErrorText=""></RegularExpression>

<RequiredField IsRequired="True" ErrorText="Campo Obligatorio"></RequiredField>
                                    </ValidationSettings>
                                </dx:ASPxTextBox>
                            </td>
                        </tr>
                        <tr id="trFechaAlta" runat ="server">
                            <td align="right" class="style9">
                                <dx:ASPxLabel ID="ASPxLabel27" runat="server" 
                                    CssFilePath="~/App_Themes/Office2003Olive/{0}/styles.css" 
                                    CssPostfix="Office2003Olive" Font-Names="Gill Sans MT" Font-Size="Small" 
                                    Text="Fecha Publicación">
                                </dx:ASPxLabel>
                            </td>
                            <td class="style3">
                                <dx:ASPxTextBox ID="txtFechaPublicacion" runat="server" 
                                    ClientInstanceName="txtNegocioCuit" 
                                    CssFilePath="~/App_Themes/Office2003Olive/{0}/styles.css" 
                                    CssPostfix="Office2003Olive" Height="24px" MaxLength="11" 
                                    SpriteCssFilePath="~/App_Themes/Office2003Olive/{0}/sprite.css" TabIndex="2" 
                                    Width="90px" ClientEnabled="False">
                                    <ValidationSettings ErrorDisplayMode="ImageWithTooltip" ErrorText="">
                                        <RegularExpression ErrorText="" />
                                        <RequiredField ErrorText="Campo Obligatorio" />
                                    </ValidationSettings>
                                </dx:ASPxTextBox>
                            </td>
                            <td class="style3">
                                &nbsp;</td>
                        </tr>
                        <tr id="trPassword" runat="server">
                            <td id="tdLblContraseña" align="right" class="style9">
                                <dx:ASPxLabel ID="ASPxLabel26" runat="server" CssFilePath="~/App_Themes/Office2003Olive/{0}/styles.css"
                                    CssPostfix="Office2003Olive" Font-Names="Gill Sans MT" Font-Size="Small" Text="Categoría">
                                </dx:ASPxLabel>
                            </td>
                            <td class="style3">
                                <dx:ASPxComboBox ID="cmbCategoria" runat="server" 
                                    CssFilePath="~/App_Themes/Office2003Olive/{0}/styles.css" 
                                    CssPostfix="Office2003Olive" LoadingPanelText="Cargando&amp;hellip;" 
                                    SpriteCssFilePath="~/App_Themes/Office2003Olive/{0}/sprite.css" TabIndex="13" 
                                    TextField="Nombre" ValueField="IDCategoria" Width="130px"  
                                    ClientEnabled="False">
                                    <ClientSideEvents SelectedIndexChanged="function(s, e) {
	pDatos.PerformCallback();
}" />
                                    <Columns>
                                        <dx:ListBoxColumn Caption="IDCategoria" FieldName="IDCategoria" 
                                            Name="IDCategoria" Visible="False" />
                                        <dx:ListBoxColumn Caption="Nombre" FieldName="Nombre" Name="Nombre" />
                                    </Columns>
                                    <LoadingPanelImage Url="~/App_Themes/Office2003Olive/Web/Loading.gif">
                                    </LoadingPanelImage>
                                    <ButtonStyle Width="13px">
                                    </ButtonStyle>
                                    <ValidationSettings ErrorText="Valor inválido">
                                        <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                                    </ValidationSettings>
                                </dx:ASPxComboBox>
                            </td>
                            <td runat="server" class="style3">
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td align="right" class="style9">
                                <dx:ASPxLabel ID="ASPxLabel7" runat="server" CssFilePath="~/App_Themes/Office2003Olive/{0}/styles.css"
                                    CssPostfix="Office2003Olive" Font-Names="Gill Sans MT" Font-Size="Small" Text="Sub Categoría">
                                </dx:ASPxLabel>
                            </td>
                            <td class="style3">
                                <dx:ASPxComboBox ID="cmbSubCategoria" runat="server" AllowMouseWheel="False" 
                                    CssFilePath="~/App_Themes/Office2003Olive/{0}/styles.css" 
                                    CssPostfix="Office2003Olive" LoadingPanelText="Cargando&amp;hellip;" 
                                    SpriteCssFilePath="~/App_Themes/Office2003Olive/{0}/sprite.css" TabIndex="13" 
                                    TextField="Nombre" ValueField="IDSubCategoria" Width="130px" 
                                    ClientEnabled="False">
                                    <Columns>
                                        <dx:ListBoxColumn Caption="IDSubCategoria" FieldName="IDSubCategoria" 
                                            Name="IDSubCategoria" Visible="False" />
                                        <dx:ListBoxColumn Caption="Nombre" FieldName="Nombre" Name="Nombre" />
                                    </Columns>
                                    <LoadingPanelImage Url="~/App_Themes/Office2003Olive/Web/Loading.gif">
                                    </LoadingPanelImage>
                                    <ButtonStyle Width="13px">
                                    </ButtonStyle>
                                    <ValidationSettings ErrorText="Valor inválido">
                                        <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                                    </ValidationSettings>
                                </dx:ASPxComboBox>
                            </td>
                            <td class="style3">
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td align="center" class="style7" colspan="2">
                                <table border="0" cellpadding="0" cellspacing="0" id="mainContainer">
                                    <tr>
                                        <td valign="top" align="center" class="content">
                                            <table cellpadding="0" cellspacing="0">
                                                <tr>
                                                    <td align="center" style="padding-right: 20px; vertical-align: top;">
                                                        <dx:ASPxLabel ID="lblError" runat="server" Font-Bold="True" ForeColor="Red" 
                                                            Text="ERROR" Visible="False">
                                                        </dx:ASPxLabel>
                                                        &nbsp;
                                                    </td>
                                                    <td align="center" class="imagePreviewCell">
                                                        &nbsp;
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td align="center" class="style7">
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td align="center" class="style6" colspan="2">
                                <table align="center">
                                    <tr>
                                        <td align="center">
                                            &nbsp;
                                        </td>
                                        <td align="right" class="style6">
                                            <dx:ASPxButton ID="btnRegresar0" runat="server" CssFilePath="~/App_Themes/Office2003Olive/{0}/styles.css"
                                                CssPostfix="Office2003Olive" Font-Bold="True" OnClick="btnSiguiente_Click" SpriteCssFilePath="~/App_Themes/Office2003Olive/{0}/sprite.css"
                                                TabIndex="15" Text="Regresar" ToolTip="Regresar" Width="75px" RightToLeft="True">
                                                <Image Url="~/Images/Iconos/Button-Back-icon.png" Width="50px">
                                                    <SpriteProperties Left="0px" />
<SpriteProperties Left="0px"></SpriteProperties>
                                                </Image>
                                            </dx:ASPxButton>
                                        </td>
                                        <td align="left">
                                            <dx:ASPxButton ID="btnGuardar" runat="server" AutoPostBack="False" ClientInstanceName="btnGuardar"
                                                CssFilePath="~/App_Themes/Office2003Olive/{0}/styles.css" CssPostfix="Office2003Olive"
                                                Font-Bold="True" SpriteCssFilePath="~/App_Themes/Office2003Olive/{0}/sprite.css"
                                                TabIndex="15" Text="Publicar" ToolTip="Publicar" Width="75px">
                                                <ClientSideEvents Click="function(s, e) {
	popUpOk.Show();
}" />
<ClientSideEvents Click="function(s, e) {
	popUpOk.Show();
}"></ClientSideEvents>

                                                <Image Url="~/Images/Iconos/check.png" Width="50px">
                                                    <SpriteProperties Left="10px" />
<SpriteProperties Left="10px"></SpriteProperties>
                                                </Image>
                                            </dx:ASPxButton>
                                        </td>
                                        <td align="right" class="style6">
                                            &nbsp;
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td align="center" class="style6">
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td align="center" class="style6" colspan="2">
                                &nbsp;</td>
                            <td align="center" class="style6">
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td align="center" class="style6" colspan="2">
                                <dx:ASPxLabel ID="lblIDNegocio" runat="server" Font-Bold="True" ForeColor="Red" Text="0"
                                    Visible="False">
                                </dx:ASPxLabel>
                                <dx:ASPxLabel ID="lblIDPublicacion" runat="server" Font-Bold="True" ForeColor="Red"
                                    Text="0" Visible="False">
                                </dx:ASPxLabel>
                                <dx:ASPxLabel ID="lblIDProducto" runat="server" Font-Bold="True" 
                                    ForeColor="Red" Text="0" Visible="False">
                                </dx:ASPxLabel>
                            </td>
                            <td align="center" class="style6">
                                &nbsp;</td>
                        </tr>
                    </table>
                                    </dx:PanelContent>
                </PanelCollection>
</dx:ASPxCallbackPanel>
                </dx:PanelContent>
            </PanelCollection>
            <Border BorderColor="#C0C0C0" BorderStyle="Solid" BorderWidth="2px" />

<Border BorderColor="Silver" BorderStyle="Solid" BorderWidth="2px"></Border>
        </dx:ASPxRoundPanel>
        <dx:ASPxPopupControl ID="popUpOk" runat="server" CssFilePath="~/App_Themes/Office2003Olive/{0}/styles.css"
            CssPostfix="Office2003Olive" EnableHotTrack="False" LoadingPanelText="Cargando&amp;hellip;"
            SpriteCssFilePath="~/App_Themes/Office2003Olive/{0}/sprite.css" ClientInstanceName="popUpOk"
            HeaderText="Confirmar Publicación" Modal="True" Width="239px" DisappearAfter="700"
            PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter">
            <LoadingPanelImage Url="~/App_Themes/Office2003Olive/Web/Loading.gif">
            </LoadingPanelImage>
            <HeaderStyle BackColor="#FF9D3C">
                <Paddings PaddingRight="6px" />
            </HeaderStyle>
            <ContentCollection>
                <dx:PopupControlContentControl ID="PopupControlContentControl1" runat="server" SupportsDisabledAttribute="True">
                    <table class="style8">
                        <tr>
                            <td align="center">
                                <dx:ASPxLabel ID="ASPxLabel21" runat="server" CssFilePath="~/App_Themes/Office2003Olive/{0}/styles.css"
                                    CssPostfix="Office2003Olive" Font-Bold="False" Font-Names="Gill Sans MT" Font-Size="Medium"
                                    Text="El producto será publicado">
                                </dx:ASPxLabel>
                            </td>
                        </tr>
                        <tr>
                            <td align="center">
                                <dx:ASPxLabel ID="ASPxLabel24" runat="server" CssFilePath="~/App_Themes/Office2003Olive/{0}/styles.css"
                                    CssPostfix="Office2003Olive" Font-Bold="False" Font-Names="Gill Sans MT" Font-Size="Medium"
                                    Text="¿Desea continuar?">
                                </dx:ASPxLabel>
                            </td>
                        </tr>
                        <tr>
                            <td align="center">
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <table align="center">
                                    <tr>
                                        <td align="left">
                                            &nbsp;
                                        </td>
                                        <td align="right" class="style6">
                                            <dx:ASPxButton ID="btnPopCerrar" runat="server" AutoPostBack="False" ClientInstanceName="btnPopCerrar"
                                                CssFilePath="~/App_Themes/Office2003Olive/{0}/styles.css" CssPostfix="Office2003Olive"
                                                Font-Bold="True" SpriteCssFilePath="~/App_Themes/Office2003Olive/{0}/sprite.css"
                                                TabIndex="15" Text="Regresar" ToolTip="Regresar" Width="75px" RightToLeft="True">
                                                <ClientSideEvents Click="function(s, e) {
	popUpOk.Hide();
}" />
                                                <Image Url="~/Images/Iconos/Button-Back-icon.png" Width="50px">
                                                    <SpriteProperties Left="0px" />
                                                </Image>
                                            </dx:ASPxButton>
                                        </td>
                                        <td align="left">
                                            <dx:ASPxButton ID="btnPopConfirmar" runat="server" OnClick="btnPopConfirmar_Click"
                                                TabIndex="15" ToolTip="Publicar" Width="75px" ClientInstanceName="btnPopConfirmar"
                                                CssFilePath="~/App_Themes/Office2003Olive/{0}/styles.css" CssPostfix="Office2003Olive"
                                                Font-Bold="True" SpriteCssFilePath="~/App_Themes/Office2003Olive/{0}/sprite.css"
                                                Text="Publicar">
                                                <ClientSideEvents Click="function(s, e) {
	popUpOk.Hide();
}" />
                                                <Image Url="~/Images/Iconos/check.png" Width="50px">
                                                    <SpriteProperties Left="10px" />
                                                </Image>
                                            </dx:ASPxButton>
                                        </td>
                                        <td align="right" class="style6">
                                            &nbsp;
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </dx:PopupControlContentControl>
            </ContentCollection>
        </dx:ASPxPopupControl>
    </div>
    <div id="Div1" style="float: right; vertical-align: top; width: 48%" align="left">
    </div>
    <script type="text/javascript">
    // <![CDATA[
        var aspxPreviewImgSrc = getPreviewImageElement().src;
    // ]]> 
    </script>
</asp:Content>
